package com.naiterui.ehp.bs.cms.modules.user.vo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bs.cms.common.json.Dict;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PharmacistVO {

    @ApiModelProperty(value = "姓名")
    private String name;

    @Dict(type = "pharmacist_gender")
    @ApiModelProperty(value = "性别  0：未知；1：男；2：女；描述使用genderDescribe")
    private Integer gender;

    @ApiModelProperty(value = "民族")
    private String ethnicity;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "身份证号")
    private String cardNo;

    @Dict(type = "pharmacist_title")
    @ApiModelProperty(value = "职称(1:药士, 2:药师, 3:主管药师, 4:副主任药师, 5:主任药师),描述使用titleIdDescribe")
    private Long titleId;

    @ApiModelProperty(value = "药师资格证编号")
    private String licenseNo;

    @ApiModelProperty(value = "专业特长")
    private String skill;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "用户状态(0:未注册, 1:已注册)")
    private Integer status;

    @ApiModelProperty(value = "CA认证状态(0:待认证, 1:通过, 2:不通过)")
    private Integer authStatus;

    @ApiModelProperty(value = "账户状态：0/默认正常，1/禁用")
    private Integer accountStatus;

    @TableId
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建人")
    private String createdBy;

}
